from django.conf.urls import url

from .views import ImageCodeView, VerifyEmailView, SMSCodeView

urlpatterns = [
    url(r'^image_codes/(?P<uuid>[\w-]+)/$', ImageCodeView.as_view()),  # 图片验证码
    url(r'^sms_codes/(?P<mobile>1[3-9]\d{9})/$', SMSCodeView.as_view()),  # 短信验证码
    url(r'^emails/verification/$', VerifyEmailView.as_view()),  # 验证邮箱
]
